package com.wx.activitys.drp.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wx.activitys.drp.mapper.BUserIncomeMapper;
import com.wx.activitys.drp.model.BUserIncome;
import com.wx.activitys.drp.modelExample.UserIncomeExample;
import com.wx.activitys.drp.service.BUserIncomeService;
@Service("/buserIncomeService")
public class BuserIncomeServiceImpl implements BUserIncomeService {
    @Autowired
    BUserIncomeMapper bUserIncomeMapper;
	
	@Override
	public List<BUserIncome> listDayIncomebyOpenid(Map<String, Object> map) {

		return bUserIncomeMapper.listDayIncomebyOpenid(map);
	}

	@Override
	public List<UserIncomeExample> listPlatAndincomeBymap(Map<String, Object> map) {

		return bUserIncomeMapper.listPlatAndincomeBymap(map);
	}

	@Override
	public int insert(BUserIncome entity) {

		return bUserIncomeMapper.insert(entity);
	}
}
